﻿<%@ Page Title="" Language="C#" MasterPageFile="~/admin/admin-site.Master" AutoEventWireup="true" CodeBehind="ManageEvents.aspx.cs" Inherits="CodeCamp12.admin.ManageEvents" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cphHead" runat="server">
   <script src="../Scripts/ManageEvents.js" type="text/javascript"></script>
   
   <style type="text/css">
        .style1
        {
            width: 255px;
        }
   </style>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cphBody" runat="server">
    <h3> Create new CodeCamp event: </h3>
   
    <br />
    <form id="createEventValidation" method="GET" action="">
    <table>
        <tr>
            <td class="style1">Event name:</td> <td><input type="text" id="txtEventName" name="eventname"/></td>
        </tr>
        <tr>
            <td class="style1">This event is starting exactly at:</td><td><input type="text" id="txtStartsAt" name="startsat"/></td> 
        </tr>
        <tr>
            <td class="style1">This event is ending exactly at:</td><td><input type="text" id="txtEndsAt" name="endsat"/></td>
        </tr>
        <tr>
            <td class="style1">Exact address where the event is going to be happening:</td><td><input type="text" id="txtLocation" name="location"/></td>
        </tr>
    </table>
    <br/> <strong>Please point the exact location at this map:</strong>
    <br/>
    <br/>
    <input type="hidden" id="lat"/>
    <input type="hidden" id="lng"/>
   </form>
    <form id="form221" runat="server" >
        <div>
            <div id="map" style="width: 500px; height: 500px"></div>
        </div>
    </form>
    <br/>
    <button type="button" id="btnSave">Create this event</button>
</asp:Content>
